package com.lagouedu.service;

import com.lagouedu.pojo.LagouToken;

public interface UserService {

    public String generateToken(String src);

    public LagouToken saveEmailAndToken(String email, String token);

    public boolean isRegistered(String email);

    public String validateUser(String email, String password);

    public String getEmailByToken(String token);

}
